core: Disable Soup-gnome features for pull
authorColin Walters <walters@verbum.org>
Fri, 24 Feb 2012 22:26:17 +0000 (17:26 -0500)
committerColin Walters <walters@verbum.org>
Fri, 24 Feb 2012 22:26:17 +0000 (17:26 -0500)
Otherwise we get a dconf thread that tries to talk to the session bus.
I think this comes from the proxy settings lookup.

src/ostree/ostree-pull.c

index 3b929435e0fc5c09ed967dbd32c99e9d386d9b9b..aa907b8d83ac5e444da0064e11255b6686548079 100644 (file)
@@ -518,7 +518,6 @@ ostree_builtin_pull (int argc, char **argv, GFile *repo_path, GError **error)
   soup_uri_set_path (target_uri, refpath);
   
   soup = soup_session_sync_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ",
-                                             SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_GNOME_FEATURES_2_26,
                                              SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_COOKIE_JAR,
                                              NULL);
   if (!fetch_uri (repo, soup, target_uri, "ref-", &tempf, error))